package com.ruoyi.trainingManagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培养方案关联学科对象 training_program_subject
 * 
 * @author chenxl
 * @date 2025-08-11
 */
public class TrainingProgramSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 培养方案ID */
    @Excel(name = "培养方案ID")
    private String trainingProgramId;

    /** 招生类型 */
    @Excel(name = "招生类型")
    private Long enrollmentType;

    /** 学科ID */
    @Excel(name = "学科ID")
    private String subjectId;

    /** 研究方向ID */
    @Excel(name = "研究方向ID")
    private String rescarechDirectionId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setTrainingProgramId(String trainingProgramId) 
    {
        this.trainingProgramId = trainingProgramId;
    }

    public String getTrainingProgramId() 
    {
        return trainingProgramId;
    }

    public void setEnrollmentType(Long enrollmentType) 
    {
        this.enrollmentType = enrollmentType;
    }

    public Long getEnrollmentType() 
    {
        return enrollmentType;
    }

    public void setSubjectId(String subjectId) 
    {
        this.subjectId = subjectId;
    }

    public String getSubjectId() 
    {
        return subjectId;
    }

    public void setRescarechDirectionId(String rescarechDirectionId) 
    {
        this.rescarechDirectionId = rescarechDirectionId;
    }

    public String getRescarechDirectionId() 
    {
        return rescarechDirectionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trainingProgramId", getTrainingProgramId())
            .append("enrollmentType", getEnrollmentType())
            .append("subjectId", getSubjectId())
            .append("rescarechDirectionId", getRescarechDirectionId())
            .toString();
    }
}
